<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String basePath = "../../../im";
%>
<s:if test="#request.adminList=='yes'">
	<s:iterator value="dataList" var="data">
	<s:iterator value="data">
	<a href='javascript:showDialogue("${pageContext.request.contextPath}/cts/toListIm.action?uid=<s:property value="key.id"/>")' style='line-height:32px;width:100%;display:block;cursor:pointer;text-decoration: none;'>
		<div style='float:left;width:40px;padding-top:2px;'>
			<s:if test="null != key.headPath">
				<img <s:if test="value>0">class="shakeMark"</s:if> src="${pageContext.request.contextPath}/<s:property value="key.headPath"/>" class="user_head" height="25px" width="25px" />
			</s:if>
			<s:else>
				<img <s:if test="value>0">class="shakeMark"</s:if> src="/m68/pf/images/man.GIF" class="user_head" height="25px" width="25px" />
			</s:else>
		</div>
		<div style='float:left;width:150px;text-align:left;'><s:property value="key.userName"/></div><br />
	</a>
	</s:iterator>
</s:iterator>
</s:if>
<s:else>
<s:iterator value="dataList" var="data">
	<s:iterator value="data">
	<a href='javascript:parent.openImDialog("popdiv_inner_imChat", "${pageContext.request.contextPath}/cts/toListIm.action?uid=<s:property value="key.id"/>");' style='line-height:32px;width:100%;display:block;cursor:pointer;text-decoration: none;'>
		<div style='float:left;width:40px;padding-top:2px;'>
			<s:if test="null != key.headPath">
				<img <s:if test="value>0">class="shakeMark"</s:if> src="${pageContext.request.contextPath}/<s:property value="key.headPath"/>" class="user_head" height="25px" width="25px" />
			</s:if>
			<s:else>
				<img <s:if test="value>0">class="shakeMark"</s:if> src="/m68/pf/images/man.GIF" class="user_head" height="25px" width="25px" />
			</s:else>
		</div>
		<div style='float:left;width:150px;text-align:left;'><s:property value="key.userName"/>&nbsp;</div><br />
	</a>
	</s:iterator>
</s:iterator>
</s:else>
<script type="text/javascript">
	
	$(function (){
		totalCount='<s:property value="#request.totalCount"/>';
	});
	
	
</script>